const {defineConfig} = require('@vue/cli-service')
module.exports = defineConfig({
    transpileDependencies: true,
    publicPath:'/sanmake',
    devServer: {
        allowedHosts: "all",
        server: 'https',
        port: 8081,
        proxy: {
            '/api': {
                target: 'http://127.0.0.1:8098',
                // target: 'http://192.168.0.130:8098',
                // target: 'http://192.168.0.108:8098',
                changeOrigin: true,
                secure: false,
                pathRewrite: {
                    '^/api': '/api'
                }
            }
        }
    }
})
